package cn.cuilan.repository;

import cn.cuilan.entity.BookClassify;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 书籍数据持久层接口
 *
 * @author zhangyue
 */
@Repository
public interface BookClassifyRepository extends CrudRepository<BookClassify, Long> {

    List<BookClassify> findByClassifyNameLike(String classifyName);

}
